import {
  validatePresence,
  validateLength,
  validateConfirmation,
  validateFormat
} from 'ember-changeset-validations/validators';

export default {
  model: [
    validatePresence({ presence: true, message: '标题不能为空' })
  ],
  name: [
    validatePresence({ presence: true, message: '问卷名称不能为空' }),
  ],
  customer: [
    validatePresence({ presence: true, message: '老人姓名不能为空' }),
  ],
  // user: [
  //   validatePresence({ presence: true, message: '评估人不能为空' }),
  // ],
  // model: [
  //   validatePresence({ presence: true, message: '模板名称不能为空' }),
  // ],
};
